package com.tqjc.area.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 86195
 * @version 1.0
 * @description 配置类对象
 * @date 2023/3/28 8:57
 */
@TableName("tqjc_bg_config")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@DS("baotou")
public class SysConfigEntity {

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long idKey;

    /**
     * 配置类型
     */
    private String configType;

    /**
     * 配置id
     */
    private String configId;

    /**
     * 配置值
     */
    private String configValue;

    /**
     * 配置状态  1:有效   0：无效
     */
    private String configStatus;

    /**
     * 配置描述
     */
    private String configDescribe;


    @TableField(value="CREATE_NAME", fill= FieldFill.INSERT)
    private String createName;

    @TableField(value="CREATE_DATE", fill=FieldFill.INSERT)
    private Date createDate;

    @TableField(value="UPDATE_NAME", fill=FieldFill.UPDATE)
    private String updateName;

    @TableField(value="UPDATE_DATE", fill=FieldFill.UPDATE)
    private Date updateDate;




}
